

<div id="rtab2_box" class="menu1">
<ul id="area" class="area">
   <?smarty:foreach from=$list key=k item=list?>  
<li id="li{$list.id}"><a href="javascript:void(0);" onclick="getinfo('{$list.id}')">{$list.classname}</a>
<?smarty:if $list.sub?>
	
<dl>

<?smarty:foreach from=$list.sub key=j item=list1?>
<dd><a href="javascript:sendvalue('{$list1.k_id},{$list1.name}');">{$list1.name}</a></dd>
  <?smarty:/foreach?>
</dl>
<?smarty:/if?>
</li>
  <?smarty:/foreach?>
</ul>
<div class="menu1" align="center" id="page"><ul><li>{$pages}</li></ul></div>
</div>
   <script type=text/javascript>
   function getinfo(flag){
     var newname="li"+flag;
    var lies=document.getElementById("area").getElementsByTagName("li").className;
	for (var i=0; i< lies.length; i++) {
lies[i].onmouseover= function() {
this.className="lion";
}
   }

</script>